package com.ruoyi.app.domain.vo

import com.ruoyi.app.common.PageMp
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.lang.reflect.Member

@ApiModel("系统消息返回参数")
data class SystemMessageVo(

    @ApiModelProperty("系统消息id")
    var id: Long? = null,

    @ApiModelProperty("通知标题")
    var title: String? = null,

    @ApiModelProperty("通知内容")
    var content: String? = null,

    @ApiModelProperty("封面图")
    var frontPic:String? = null,

    @ApiModelProperty("是否跳转")
    var skipBool: Boolean? = false,

    @ApiModelProperty("跳转链接")
    var skipUrl: String? = null,

    @ApiModelProperty("创建时间")
    var createDate: String? = null,

    @ApiModelProperty("是否已读")
    var isRead: Boolean? = false,
)

@ApiModel("用户消息实体")
data class MessageIndexVo(

    @ApiModelProperty("系统消息列表")
    var systemMessage: PageMp<SystemMessageVo>? = null,

    @ApiModelProperty("会员消息列表")
    var memberMessage: PageMp<MemberMessageVo>? = null,

    @ApiModelProperty("互动消息")
    var interactionMessage: PageMp<InteractionMessageVo>? = null,
)
